import React from "react";

function City(props) {
  let { list } = props; 
  return (
    <div>
      <div className="hotCity mt-10 bg-fff ovh">
        <h3 className="flex aic pl-8">热门城市</h3>
        <ul className="list flex fw">
          {list.map((item) => (
            <li key={item.id} className="item fcc">{item.name}</li>
          ))}
        </ul>
      </div>
    </div>
  );
}

export default City;
